import java.awt.Color;


public class Question {
    
    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public float getPriority() {
        return priority;
    }

    public void setPriority(float priority) {
        this.priority = priority;
    }

    private String question;
    private Color color;
    /**
     * can be from 0.0f till 1.0f
     */
    private float priority;    
    
    public static final float LOW_PRIORITY 	= 0.1f;
    public static final float MIDDLE_PRIORITY 	= 0.5f;
    public static final float HIGH_PRIORITY 	= 1.0f;
    
    public Question(String aQuestion, float aPriority) {
	question = aQuestion;
	priority = aPriority;
    }
    
    public Question(String aQuestion) {
	question = aQuestion;
	priority = Question.MIDDLE_PRIORITY;
    }
    
    public Question (String aQuestion, float aPriority, Color aColor) {
	question = aQuestion;
	priority = aPriority;
	color = aColor;
    }
}
